package com.zhangjq.abstractfacotry;

/**
 * Created by Administrator on 2019/3/9 0009.
 */
public class AbstractFactoryTest {
    public static void main(String[] args) {
        IFactory factory = new AliFactory();
        factory.createPay().pay();
        factory.createRepay().repay();
    }

}
